package com.example.app03.bean;

public class Artical {
	private long id;
	private String title;
	private String content;
	private long publish_time;
	private long read_times;
	private String status;
	private long thump_up;
	private String cover;
	private long project_id;
	private long author_id;
	private long category_id;
	private long compony_id;


//无参构造器
public Artical() {}


public Artical(long id, String title, String content, long publish_time, long read_times, String status, long thump_up,
		String cover, long project_id, long author_id, long category_id, long compony_id) {
	super();
	this.id = id;
	this.title = title;
	this.content = content;
	this.publish_time = publish_time;
	this.read_times = read_times;
	this.status = status;
	this.thump_up = thump_up;
	this.cover = cover;
	this.project_id = project_id;
	this.author_id = author_id;
	this.category_id = category_id;
	this.compony_id = compony_id;
}




public long getId() {
	return id;
}


public void setId(long id) {
	this.id = id;
}


public String getTitle() {
	return title;
}


public void setTitle(String title) {
	this.title = title;
}


public String getContent() {
	return content;
}


public void setContent(String content) {
	this.content = content;
}


public long getPublish_time() {
	return publish_time;
}


public void setPublish_time(long publish_time) {
	this.publish_time = publish_time;
}


public long getRead_times() {
	return read_times;
}


public void setRead_times(long read_times) {
	this.read_times = read_times;
}


public String getStatus() {
	return status;
}


public void setStatus(String status) {
	this.status = status;
}


public long getThump_up() {
	return thump_up;
}


public void setThump_up(long thump_up) {
	this.thump_up = thump_up;
}


public String getCover() {
	return cover;
}


public void setCover(String cover) {
	this.cover = cover;
}


public long getProject_id() {
	return project_id;
}


public void setProject_id(long project_id) {
	this.project_id = project_id;
}


public long getAuthor_id() {
	return author_id;
}


public void setAuthor_id(long author_id) {
	this.author_id = author_id;
}


public long getCategory_id() {
	return category_id;
}


public void setCategory_id(long category_id) {
	this.category_id = category_id;
}


public long getCompony_id() {
	return compony_id;
}


public void setCompony_id(long compony_id) {
	this.compony_id = compony_id;
}

@Override
public String toString() {
	return "Artical [id=" + id + ", title=" + title + ", content=" + content + ", publish_time=" + publish_time
			+ ", read_times=" + read_times + ", status=" + status + ", thump_up=" + thump_up + ", cover=" + cover
			+ ", project_id=" + project_id + ", author_id=" + author_id + ", category_id=" + category_id
			+ ", compony_id=" + compony_id + "]";
}



}
